<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------
use think\facade\Route;

Route::post('login', 'User/login');
Route::post('change-passwd', 'User/loginPasswd');
Route::get('user-task', 'User/userTask');
Route::resource('user', 'User');
Route::post('task-upload', 'Task/upload');
Route::put('task-weight/:id', 'Task/weight');
Route::post('task-download', 'Task/download');
Route::post('task-download-cancel', 'Task/downloadCancel');
Route::resource('task', 'Task');
Route::resource('project', 'Project');
Route::resource('department', 'Department');
